<template>
  <!-- ！！！algorithm: 此处为主题配置，后端根据选择的主题进行匹配，此文件内请勿再增加有关algorithm字段相关的配置，否则会导致主题失效等问题 -->
  <el-config-provider :locale="zhCn">
    <router-view />
  </el-config-provider>
</template>

<script setup lang="ts">
  import zhCn from 'element-plus/es/locale/lang/zh-cn';
  import { ElConfigProvider } from 'element-plus';
  import dayjs from 'dayjs';
  import 'dayjs/locale/zh-cn';
  dayjs.locale('zh-cn');
  onMounted(() => {
    const loadingDom = document.getElementById('html-loading');
    if (loadingDom) {
      loadingDom.style.display = 'none';
    }
  });
</script>

<style scoped></style>
